<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class Archive
 * @package App\Models
 */
class Storeroom extends Model
{
    use SoftDeletes;

    protected $guarded = ['id'];

    public static function getTypeText($type)
    {
        $arr = [
            1  => '立卷说明',
            2  => '业务规范',
            3  => '公司档案管理制度',
            4  => '档案业务指导工作记录',
            5  => '档案全引目录',
            6  => '招投标台账',
            7  => '合同台账',
            8  => '物质设备台账',
            9  => '变更设计台账',
            10 => '专项检査意见及整改报告',
            11 => '汇报材料',
            12 => '移交手续',
        ];

        return $arr[$type];
    }

}
